$(function() {
	/*初始化数据表格*/
	$("#table_datagrid").datagrid({
		fit:true,
		fitColumns:true,
		toolbar:'#dg_tb',
		striped:true,
		singleSelect:true,
		pagination:true
	});
});


/*查看子菜单*/
function queryChildren() {
	var row = $("#table_datagrid").datagrid("getSelected");
	if (!row) {
		$.messager.alert('操作提示','请选择一个菜单','info');
		return;
	}
	window.location.href = "/wms/systemMenu.action?qo.parentId=" + row.id;
}
